﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DietStructure_fldb.aspx.cs" Inherits="Catering.DisplayBoards.DietStructure_fldb" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<%@ Register src="~/UCPanle/DDLTool.ascx" tagname="DDLTool" tagprefix="uc1" %>
<%@ Register src="~/UCPanle/UCSearchTool.ascx" tagname="UCSearchTool" tagprefix="uc2" %>
<%@ Register src="~/UCPanle/UCSearchToolByZW.ascx" tagname="UCSearchToolByZW" tagprefix="uc3" %>
<%@ Register src="~/UCPanle/UCDDLToolWithYearOrMonthOrDay.ascx" tagname="UCDDLToolWithYearOrMonthOrDay" tagprefix="uc4" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../Style/zhezhao.css" />
    <script src="../Style/zhezhao.js" type="text/javascript"></script>
    <script src="../Style/xxk.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/jquery.min.js"></script>
    <style type="text/css">
        .report_xh_title{font-weight:bold; font-size:16px; color:#0066CC;}
    </style>
    <script type="text/javascript">
        function GetDataGroup(title, xtype, data) {
            var chart;
            var banzuptions = {
                chart: { renderTo: 'container', type: 'column' }, //容器ID
                title: { text: title }, //报表大标题
                //subtitle: { text: '报表小标题' }, //报表小标题
                xAxis: {//x轴
                    type: 'sdf',
                    categories: xtype,
                    gridLineWidth: 0,
                    labels: {
                        align: 'right',
                        rotation: -45,
                        style: {
                            fontSize: '13px',
                            fontFamily: '宋体,Verdana'
                        }
                    }
                },
                yAxis: [{ // left y axis
                    title: {
                        text: null
                    },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: false
                },
                { // right y axis
                    linkedTo: 0,
                    gridLineWidth: 1,
                    opposite: true,
                    title: { text: null },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: true
                }],
                tooltip: {
                    formatter: function () {
                        return '<b>' + this.x + '：</b><br/>' +
                        this.series.name + '：' + this.y;
                    }
                },
                series: []
            };
            for (var i = 2; i < arguments.length; i++) {
                banzuptions.series[i - 2] = arguments[i];
            }
            chart = new Highcharts.Chart(banzuptions);
        }
        function RefreshPage() {
            $("#Btn_Ref").trigger("click");
        }

        $(function () {            
            var test = setInterval(RefreshPage, 1000*60*60);
        });
    </script>
</head>
<body>
    <form id="Form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" runat="server"></asp:ScriptManager>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/highcharts.js"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/modules/exporting.js"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/highslide-full.min.js"></script>
    <script type="text/javascript" src="../Catering_Page/Tool_Reporter/js/highslide.config.js" charset="utf-8"></script> 
        <div class="Center_Content" id="div_search" style="display:none">
            <asp:Button ID="Btn_Ref" runat="server" Text="" style="width:0px; height:0px; border:0px;" onclick="Btn_Ref_Click" />
        <div class="div_0207 left_width500" style="height:34px; width:998px;">
            <table align="left" style="height:34px" width="100%" border="0" cellspacing="0" cellpadding="0" class="ckgl_table">
                <thead>
                    <tr>
                        <td>
                            <uc4:UCDDLToolWithYearOrMonthOrDay ID="UCDDLToolWithYearOrMonthOrDay1" 
                                runat="server" />
                        </td>
                     </tr>
                </thead>
            </table>
        </div>
    </div>
    <div class="Center_Content" id="div2_3" style="display: block">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none">
            <tr><td rowspan="2">
                <uc3:UCSearchToolByZW ID="UCSearchToolByZW1" runat="server" />
                </td></tr>
            <tr><td height="35" style="border:1px solid #C2DEF6; border-top:none; background-color:#E5F1FD;" valign="middle" align="center"><asp:Label ID="lblTypeTitle" runat="server" Text=""></asp:Label></td></tr>
        </table>
        <div id="container" style="width:1000px; height: 550px; margin: 0 auto"></div>
    </div>
</form>
</body>
</html>
